[GWT] StackLayoutPanel and MVP

Posted by Stine on Stack Overflow See other posts from Stack Overflow or by Stine
Published on 2010-02-23T10:11:30Z Indexed on 2010/04/05 13:03 UTC
Read the original article Hit count: 152

Filed under:

Hello!

Think there might be something about this MVP approach I have completely misunderstood.

Currently I am struggling to apply the MVP pattern to the part of my application consisting of a StackLayoutPanel (accordion). To me it seems natural to have a presenter and a view per stack... but how do I allow the different presenters to react when the user switch the state of the stack panel?

If someone could sketch an application of the MVP pattern in the case of an accordion application I would be really, really grateful! This is really getting on my nerves! ;D

Thanks a lot from Stine :)

© Stack Overflow or respective owner

Related posts about gwt